package com.md.api.dao;

import com.md.api.entity.ShoppingRefundOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShoppingRefundOrderMapper {
    int deleteByPrimaryKey(@Param("refundNo")String refundNo);

    int insert(ShoppingRefundOrder record);

    ShoppingRefundOrder getByRefundNo(@Param("refundNo") String refundNo);

    List<ShoppingRefundOrder> selectAll();

    int update(ShoppingRefundOrder record);

    ShoppingRefundOrder getDetail(@Param("orderNo")String orderNo, @Param("skuId")String skuId);

    List<ShoppingRefundOrder> sysList(@Param("refundStatus")Integer refundStatus,@Param("orderNo") String orderNo,
                                      @Param("refundNo")String refundNo,@Param("createTimeStart")  String createTimeStart,
                                      @Param("createTimeEnd") String createTimeEnd);

    Integer waitRefund();
}